import request from '@/utils/request'
//登录接口
export const loginAPI = (params) => request('/api/auth/login', 'post', params)
//注册接口
export const registerAPI = (params) => request('/api/auth/register', 'post', params)
//登出接口
export const logoutAPI = () => request('/api/auth/logout', 'POST')
//用户信息接口
export const getUserInfoAPI = () => request('/api/user', 'get')
